package com.fattyCorps.common.obj.config;

import cn.hutool.extra.spring.SpringUtil;
import com.fattyCorps.common.mgr.Cfg;
import com.fattyCorps.common.packet.dto.DItem;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PlayerExpMould extends BaseCfg {
    private int exp;

    public static int maxLv() {
        return SpringUtil.getBean(Cfg.class).getCfgAll(PlayerExpMould.class).size();
    }
}
